using Microsoft.AspNetCore.Mvc;

namespace Services.Error.WebApi.Controllers;
[ApiController]
[Route("[controller]/[action]")]
public class ErrorController : ControllerBase
{
    private readonly ILogger<ErrorController> logger;
    public ErrorController(ILogger<ErrorController> logger)
    {
        this.logger = logger;
    }
    [HttpGet]
    public void Test()
    {
        throw new Exception("test");
    }
}